<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="../css/common.css" />
		<link rel="stylesheet" type="text/css" href="css/mine.css" />
		<link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
		<script src="../js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script src="//cdn1.lncld.net/static/js/2.1.2/av-min.js" type="text/javascript" charset="utf-8"></script>

	</head>

	<body>
		<div class="loading" v-show="!loading">
			<div class="load"></div>
			<div class="load2"></div>
		</div>

		<div class="header" onclick="history.go(-1)">
			<i class="icon Hui-iconfont">&#xe67d;</i>
			<span>我的</span>
			<!--标题为动态获取-->
		</div>
		<div class="main" v-show="loading" v-bind:style="{visibility: 'visible'}">
			<div class="main_title">
				<div class="userimg">
					<img src="../TakeoutFood/img/a10513634_3_s.jpg" />
				</div>
				<div class="user">
					<div class="username" v-html="username">
						用户名
					</div>
					<!--<div class="userphone">
						手机
					</div>-->
				</div>
			</div>
			<div class="main_yyj">
				<div class="price" @click="price">
					<p><span v-html="user.Money">0.00</span>元</p>
					<p>余额</p>
				</div>
				<div class="youhui">
					<p><span>0</span>个</p>
					<p>优惠券</p>
				</div>
				<div class="jifen">
					<p><span v-html="user.integral">0</span>分</p>
					<p>积分</p>
				</div>
			</div>
			<div class="main_list">
				<div class="address" @click="myAddress">
					<p>常用地址</p>
					<p><i class="icon Hui-iconfont">&#xe6d7;</i></p>
				</div>
				<div class="myorder" @click="myOrder">
					<p>我的订单</p>
					<p><i class="icon Hui-iconfont">&#xe6d7;</i></p>
				</div>
				<div class="jf" @click="integral">
					<p>积分兑换</p>
					<p><i class="icon Hui-iconfont">&#xe6d7;</i></p>
				</div>
				<div class="newact">
					<p>最新活动</p>
					<p><i class="icon Hui-iconfont">&#xe6d7;</i></p>
				</div>
			</div>

			<div class="logOut">
				<button v-if="current" @click="logOut">登出</button>
				<button v-else @click="login">登录</button>
			</div>

		</div>
		<div class="foot">
			<div class="takeoutfoot" onclick="location.href='../TakeoutFood/takeoufoot.html'">
				<i class="icon Hui-iconfont">&#xe66a;</i>
				<p>
					外卖
				</p>
			</div>
			<div class="order" onclick="location.href='../Order/order.html'">
				<i class="icon Hui-iconfont">&#xe681;</i>
				<p>
					订单
				</p>
			</div>
			<div class="mine">
				<i class="icon Hui-iconfont">&#xe60d;</i>
				<p>
					我的
				</p>
			</div>
		</div>
	</body>
	<script src="../js/common.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/mine.js" type="text/javascript" charset="utf-8"></script>

</html>